package com.feri.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 18.权限表(SysPermission)表实体类
 *
 * @author makejava
 * @since 2023-03-26 10:40:28
 */
@Data
@TableName("sys_permission")
@NoArgsConstructor
@AllArgsConstructor
public class SysPermission{
    @TableId(type = IdType.AUTO)
    private Integer id;
    //权限或菜单名
    private String permName;
    //类型：1.菜单 2.权限
    private Integer type;
    //权限或菜单对应的组件名
    private String permTag;
    //菜单的页面url
    private String url;
    //菜单对应的图标
    private String icon;
    //菜单上一级的id
    private Integer parentid;
    //菜单的级别：1级 2级 3级
    private Integer level;
}
